<template>
<div class="my">
  <div class="box" @click="goToLogin">
    登录
  </div>

</div>
</template>

<script>
export default {
  data(){
   return{


   }
  },
  name: "NavMy",
  methods:{
    goToLogin(){
      this.$router.push({path:'/login'})
    }
  }
}
</script>

<style scoped lang="scss">
.my{
  background-image: url("@/assets/images/nn.jpg");
  height: 100%;
  width: 100%;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  .box{
    width: 100px;
    height: 100px;
    background-color: #32AAA9;
    display: flex;
    justify-content: center;
    align-items: center;
  }

}


</style>